All Questions
22 questions
0votes
2answers
305views
Removing Gradle with all dependencies
I have installed Gradle via Synaptic Package Manager. During the installation process, two auxiliary packages were installed, plus a large amount of different dependencies, and the process was quite ...
0votes
1answer
51views
How to replace stock java with downloaded binary?
In Debian Stable the latest openjdk version available is 17. $ which -a java /usr/bin/java /bin/java $ java --version openjdk 17.0.8 2023-07-18 OpenJDK Runtime Environment (build 17.0.8+7-Debian-...
13votes
4answers
34kviews
How can I install Java 8 on Debian 12 (bookworm)?
Under Debian 11, we typically use OpenJDK from adoptopenjdk.net. This organization will no longer provide new releases: https://adoptopenjdk.jfrog.io/ui/native/deb/dists/ Is there a way to install ...
1vote
1answer
160views
configure: error: Could not find alsa!
I'm trying to cross compile jdk for android. I run: ./configure --with-toolchain-path=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64 --with-sysroot=$ANDROID_NDK_HOME/platforms/android-21/...
0votes
2answers
121views
How to use early jdk with archlinux-java?
I'm using archlinux-java set java-xx-openjdk to switch between regularly installed jdk versions, and that works, but I want to use the latest or the early version from https://jdk.java.net/ that I ...
1vote
1answer
6kviews
"Too small maximum heap" Java error in Manjaro Linux running through terminal
Really don't know what to do about this one. I'm trying to start a minecraft server with more RAM but the commands in the terminal give me this error. The server works only if I go to the file manager ...
14votes
3answers
56kviews
How can I install Java 8 on Debian 11 (Bullseye)?
This answer explains why it was removed. I'm not interested in the reason, instead, I need to install it. This VM is solely dedicated to my Java app, so I'm not really interested in using a container. ...
0votes
0answers
41views
two java sdks in one system
I installed java using the sudo apt install openjdk-17-headless-jdk but for some reason my intellij IDEA community edition couldn't find the jdk when I tried to create a maven project. Since it was an ...
0votes
2answers
12kviews
How to uninstall versions of Java openJDK
I am using Linux Mint XFCE 20. Recently I installed Java by running sudo apt-get install openjdk and it automatically installed versions 8 and 11 of both JRE and JDK, including JRE headless. It turns ...
0votes
1answer
232views
RHEL7 - very long start times on JRE
I'm using RHEL7, and I've ran into problems with Pycharm where it takes a very long time to start, a few minutes. According to the logs, it's mostly waiting for the JRE/JVM to start. So I tried to ...
1vote
2answers
14kviews
How to install Java 8 on Kali Nethunter
Guys I need to install jdk 8 for my programs to work better, many programs do not support the version higher than Java 8 so I want to install Java 8 to run better, I tried to install via apt-get, but ...
0votes
0answers
649views
javac -version command not found error in rhel 7.3
I followed this documentation to install java-1.8.0-openjdk-1.8.0.272.b10-1.portable.jdk.el.x86_64.tar.xz into RHEL 7.3. In section 2.4. Installing OpenJDK on RHEL using an archive, at the last step, ...
0votes
1answer
2kviews
Can't find jar binaries
I installed jdk8 and jdk14 on Arch Linux with sudo pacman -S jre8-openjdk jre-openjdk but I can't find the jar binaries file. If I run jar it tells me command not found. I searched in both openjdk ...
0votes
1answer
454views
How to make archlinux-java set ... not require sudo?
I have to bounce between Java 8 and Java 13 for different Minecraft versions to work properly, and doing that requires me to type sudo archlinux-java set java-8-openjdk or sudo archlinux-java set java-...
2votes
1answer
51views
When does Fedora provide extended support releases for Java?
I'm trying to run a jar file which checks the installed version of Java explicitly: *** The version you have requested to build requires Java versions between [Java 8, Java 12], but you are using ...